having clause vs where clause